home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 2000 #5
/
Amiga Plus CD - 2000 - No. 5.iso
/
Tools
/
Misc
/
FLM
/
otherfiles
/
english
/
ARexx
/
edward_take.rexx
< prev
next >
Wrap
OS/2 REXX Batch file
|
2000-01-01
|
1KB
|
38 lines
/* [TRANSLATOR'S NOTE. As I didn't own Edward neither I could try it nor
translate its menu items. In such cases, I've put the supposed English
translation between [* and *]].
This script gets translation from FLM and writes it at the current
cursor position.
To call this script through a keyboard shortcut, load the file
"Edward.DEF" in Edward directory. Now, go with your cursor on location
"Keybordbelegungen" [* Keyboard Mapping/Allocation *] (you can find this
in "Einstellungen" [* Settings *] menu), and insert the following line
e.g. after "(CTRL".
<Key> (ExecRexx "<File>")
<Key>: Here you must indicate the key through which this script could
be called, e.g. F9
<File>: Here you must indicate name and path of this file.
E.g.: F9 (ExecRexx "edward_take.rexx")
In the above example, through Ctrl+F9, translation will be written at
current cursor position.
-> Warning: The program RexxMast must be active !!!
*/
Options RESULTS
Address FLM TAKEWORD /* Translation in Variable RESULT */
If Symbol('RESULT')='LIT' Then Exit /* Is RESULT defined? */
a=Insert('"',"Address EDWARD 'insertchars "RESULT"'",28)
a=Insert('"',a,29+Length(RESULT))
Interpret a /* Execute string "a" as a command */